import { createRouter, createWebHashHistory } from "vue-router";
import Drill from "@/views/demo/index.vue";
import Btns from "@/views/demo/choose.vue";
import Result from "@/views/demo/result.vue";
const routes = [
  {
    path: "/",
    name: "home",
    component: Drill,
  },
  {
    path: "/choose",
    name: "choose",
    component: Btns,
  },
  {
    path: "/result",
    name: "result",
    component: Result,
  },
];
const router = createRouter({
  history: createWebHashHistory(),
  routes,
});
export default router;
